//
//  PGPostItem.h
//  youqu
//
//  Created by 彭鹏 on 16/10/16.
//  Copyright © 2016年 pengpeng. All rights reserved.
//

#import <Foundation/Foundation.h>
@class PGTopCommentItem;
typedef enum : NSUInteger {
    PGPostTypeAll = 1,
    PGPostTypeVideo = 41,
    PGPostTypeVoice = 31,
    PGPostTypePicture = 10,
    PGPostTypeText = 29
} PGPostType;

@interface PGPostItem : NSObject
/**头像*/
@property (nonatomic, strong) NSString *profile_image;

/**名称*/
@property (nonatomic, strong) NSString *name;

/**帖子文字*/
@property (nonatomic, strong) NSString *text;

/**发表帖子的时间*/
@property (nonatomic, strong) NSString *passtime;


/**小图*/
@property (nonatomic, strong) NSString *image0;

/**大图*/
@property (nonatomic, strong) NSString *image1;

/**中图*/
@property (nonatomic, strong) NSString *image2;

/**中图*/
@property (nonatomic, strong) UIImage *smallImage;

/**帖子类型*/
@property (nonatomic, assign) PGPostType type;

/**是否是gif图片*/
@property (nonatomic, assign) BOOL is_gif;

/**是否是大图片*/
@property (nonatomic, assign) BOOL is_big;

/**图片宽度*/
@property (nonatomic, assign) NSUInteger width;

/**图片高度*/
@property (nonatomic, assign) NSUInteger height;

/**播放次数*/
@property (nonatomic, assign) NSUInteger playcount;
/**视频时间*/
@property (nonatomic, assign) NSUInteger videotime;
/**声音时间*/
@property (nonatomic, assign) NSUInteger voicetime;



/**评论数组*/
@property (nonatomic, strong) NSArray *top_cmt;

/**评论模型*/
@property (nonatomic, strong) PGTopCommentItem *topCommentItem;


/**顶*/
@property (nonatomic, strong) NSString *ding;

/**菜*/
@property (nonatomic, strong) NSString *hate;

/**分享*/
@property (nonatomic, strong) NSString *repost;

/**评论*/
@property (nonatomic, strong) NSString *comment;




@end
